package com.sskj.aikeeper.bean;

import java.util.ArrayList;
import java.util.List;

public class BannerNoticeBean {


    private List<BannerBean> banner;
    private List<ArticleBean> article;

    public List<BannerBean> getBanner() {
        if (banner == null) {
            return new ArrayList<>();
        }
        return banner;
    }

    public void setBanner(List<BannerBean> banner) {
        this.banner = banner;
    }

    public List<ArticleBean> getArticle() {
        if (article == null) {
            return new ArrayList<>();
        }
        return article;
    }

    public void setArticle(List<ArticleBean> article) {
        this.article = article;
    }

    public static class BannerBean {
        /**
         * id : 26
         * name : cs
         * url :
         * banner_url : http://www.aiguanjia.vip/Uploads/app/banner/2019/04-02/5ca3029ab106b38230.png
         */

        private String id;
        private String name;
        private String url;
        private String banner_url;

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name == null ? "" : name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUrl() {
            return url == null ? "" : url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getBanner_url() {
            return banner_url == null ? "" : banner_url;
        }

        public void setBanner_url(String banner_url) {
            this.banner_url = banner_url;
        }
    }

    public static class ArticleBean {
        /**
         * id : 46
         * title : 关于AI服务器升级和系统优化的通知
         */

        private String id;
        private String title;

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title == null ? "" : title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
